﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.CompilerServices;
using Microsoft.Scripting.Runtime;

namespace Cjc.ExpressionEngine.Excel.Runtime.Operations
{
	public static class BigIntOps
	{
		[ImplicitConversionMethod]
		public static decimal ConvertToDecimal( int x ) { return (decimal)x; }

		[SpecialName]
		public static object Add( long x, long y ) { return x + y; }
		[SpecialName]
		public static object Subtract( long x, long y ) { return x - y; }
		[SpecialName]
		public static object Multiply( long x, long y ) { return x * y; }
		[SpecialName]
		public static object Divide( long x, long y ) { return x / y; }
	}
}